<?php
/*
Template Name: Services
*/
?>

<?php get_header(); ?>
<<<<<<< HEAD
=======
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
>>>>>>> 5fbf5cdf92c2c18fe8dca27bff6122b73e42f573


<!-- Map Header -->
<div class="page-header">
<<<<<<< HEAD
	<?php the_post_thumbnail( array (687,265) );?>
	<div class="page-header-caption">
	<?php the_title(); ?>
	</div>
=======
<?php the_post_thumbnail( array (687,265) );?>
<div class="page-header-caption">
<?php the_title(); ?>
</div>
>>>>>>> 5fbf5cdf92c2c18fe8dca27bff6122b73e42f573
</div>

<!-- Sidebar -->
<div class="page-sidebar">
<<<<<<< HEAD
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar("Sidebar") ) : ?><?php endif; ?>
=======
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar("Calculator Sidebar") ) : ?><?php endif; ?>
>>>>>>> 5fbf5cdf92c2c18fe8dca27bff6122b73e42f573
 
  <?php if (!empty($sid) && function_exists('is_dynamic_sidebar') && is_active_sidebar($sid)){ ?>
    <div id="sidebar">  
      <?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar($sid)): ?><?php endif; ?>
    </div>
  <?php } ?>
</div>

<<<<<<< HEAD
<div class="clear"></div>

<!-- Content Area -->
<div class="page-content">

<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>

	<div class="page-content-strapline">
		<?php the_content(); ?>
	</div>

=======
<!-- Content Area -->
<div class="page-content">

<?php the_content(); ?>


</div>
>>>>>>> 5fbf5cdf92c2c18fe8dca27bff6122b73e42f573
<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>


<<<<<<< HEAD
<div class="all-services-list">
	<?php $loop = new WP_Query( array( 'post_type' => 'services', 'taxonomy_name' => $term, 'post_child' => 0, 'posts_per_page' => 20 ) ); ?>
	<?php while ( $loop->have_posts() ) : $loop->the_post(); $count++; ?>
		<li <?php if(0 == $count%2) echo 'class="last"' ?>>
			<div class="all-services-title">
				<?php the_title(); ?>
			</div>
			<div class="all-services-icon">
				<img src="<?php the_field('icon'); ?>" alt="" />
			</div>
			<div class="all-services-text">
				<?php print_excerpt(300); ?>
				<div class="clear"></div>
				<div class="readmore">
					<a href="<?php the_permalink(); ?>">Read More</a>
				</div>
			</div>
		</li>
	<?php endwhile; ?>
</div>


</div>


<div class="clear"></div>

=======




<div class="clear"></div>
>>>>>>> 5fbf5cdf92c2c18fe8dca27bff6122b73e42f573
<?php get_footer(); ?>